package com.sdhs.think.modules.gen.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sdhs.think.common.service.BaseService;
import com.sdhs.think.modules.gen.dao.GenDataBaseDictDao;
import com.sdhs.think.modules.gen.entity.GenTable;
import com.sdhs.think.modules.gen.entity.GenTableColumn;

@Service
public class GenTableService extends BaseService{
	
	@Autowired
	private GenDataBaseDictDao genDataBaseDictDao;
	
	public List<GenTable> findTableList(GenTable genTable){
		return this.genDataBaseDictDao.findTableList(genTable);
	}
	
	public List<GenTableColumn> findTableColumnList(GenTable genTable){
		return this.genDataBaseDictDao.findTableColumnList(genTable);
	}
	
	public List<String> findTablePK(GenTable genTable){
		return this.genDataBaseDictDao.findTablePK(genTable);
	}
}
